package com.hzqy.persistence.dao.weekFree;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.PmsUserVo;
import com.hzqy.web.vo.WeekFreeVo;

@Repository
public class WeekFreeDao extends PersistenceDao<PmsUserVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());
	
	public int insertWeekFreeInfo(WeekFreeVo weekFreeVo){
		return getSqlSession().insert(this.getNamespace()+"insertWeekFreeInfo", weekFreeVo);
	}
	
	public WeekFreeVo selectWeekFreeInfoByUserid(String f_wwf_userid){
		return getSqlSession().selectOne(this.getNamespace()+"selectWeekFreeInfoByUserid", f_wwf_userid);
	}
}
